{php include wl_template('common/header');}
<style>
    .title{
        position: absolute;
        display: block;
        width: 100%;
        padding: 0;
        margin: 0 -.5rem;
        font-size: .85rem;
        font-weight: 500;
        line-height: 2.2rem;
        color: #3d4145;
        text-align: center;
        white-space: nowrap;
    }
    .page-group{
        box-sizing: border-box;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: #efeff4;
        overflow: hidden;
    }
    .bar{
        position: absolute;
        right: 0;
        left: 0;
        z-index: 10;
        height: 2.2rem;
        padding-right: .5rem;
        padding-left: .5rem;
        background-color: #f7f7f8;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    .bar-nav~.content{
        top: 2.2rem;
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        overflow: auto;
    }
    .payicons{
        text-align: center;
        margin-top: 1rem;
    }
    .paysucces_text{
        text-align: center;
        font-size: 0.9rem;
        color: #09BB07;
    }
    .paysucces_price{
        text-align: center;
        font-size: 1.3rem;
    }
    .content-block{
        margin: 1.75rem 0;
        padding: 0 .75rem;
        color: #6d6d72;
    }
    .row .col-100{
        width: 96%;
    }
    .weui_btn{
        position: relative;
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding-left: 14px;
        padding-right: 14px;
        box-sizing: border-box;
        font-size: 18px;
        text-align: center;
        text-decoration: none;
        color: #FFFFFF;
        line-height: 2.33333333;
        border-radius: 5px;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
        overflow: hidden;
        background-color: #ff5c67;
    }
</style>
<div class="page-group">
    <div class="page page-current" id="page-member">
        <header class="bar bar-nav">
            <h1 class="title">预约结果</h1>
        </header>
        <div class="content" style="background-color: #fff;">
            <div class="payicons">
                <div class="bd spacing">
                    {if empty($errno)}<i style="color: #09BB07;font-size: 85px" class="iconal-roundcheckfill"></i>{/if}
                    {if $errno==2}<i style="color: #ed5111;font-size: 85px" class="iconal-roundclose"></i>{/if}
                </div>
            </div>
            <div class="paysucces_text">
                {if empty($errno)}预约成功{/if}

            </div>
            <div class="paysucces_price">{$order['pay_price']}元</div>
            <div class="list-block">
                <ul>
                    {if !empty($order['discount_fee'])}
                    <li class="item-content">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title payredcolor">优惠券折扣</div>
                            <div class="payredcolor item-after">{$order['discount_fee']}</div>
                        </div>
                    </li>
                    {/if}
                    {if !empty($order['first_fee'])}
                    <li class="item-content">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">团长优惠</div>
                            <div class="payredcolor item-after">{$order['first_fee']}</div>
                        </div>
                    </li>
                    {/if}
                    {if !empty($order['credits'])}
                    <li class="item-content">
                        <div class="item-media"><i class="icon icon-f7"></i></div>
                        <div class="item-inner">
                            <div class="item-title">积分奖励</div>
                            <div class="payredcolor item-after">{$order['credits']}</div>
                        </div>
                    </li>
                    {/if}
                </ul>
            </div>
            <div class="content-block">
                <div class="row" style="text-align: center">
                    <div style="width:45%;display: inline-block;margin-right:5px;"><a href="https://static.meiqia.com/dist/standalone.html?eid={$config['base']['meiqia']}" class="weui_btn weui_btn_warn">联系技师</a></div>
                    <div style="width: 45%;display: inline-block;margin-left:5px;"><a href="{php echo app_url('goods/list')}" class="weui_btn">返回首页</a></div>
                </div>
            </div>
        </div>
    </div>
</div>
